package com.atguigu.servlets;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * liujianlong
 * 2022-01-22 22:19
 */
public class Demo05 extends HttpServlet {
    @Override
    protected void service(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException{
        Object unameObj= request.getSession().getAttribute("uname");
        System.out.println(unameObj);
    }
}
